home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / climatechaos.swf / scripts / frame_133 / PlaceObject2_1979_31 / CLIPACTIONRECORD onClipEvent(load).as
Encoding:
Text File  |  2008-09-12  |  459 b   |  18 lines

  1. onClipEvent(load){
  2.    _root.hud.addListener(this);
  3.    _root.hud.pickupItem("small_shell");
  4.    this.useItem = function(p_item)
  5.    {
  6.       _root.hud.usedItem("small_shell");
  7.       _root.convo._visible = true;
  8.       this.enabled = false;
  9.       _root.convo.cs.cg.gotoAndPlay("tut_shell");
  10.    };
  11.    this.onRelease = function()
  12.    {
  13.       _root.convo._visible = true;
  14.       this.enabled = false;
  15.       _root.convo.cs.cg.gotoAndPlay("tut");
  16.    };
  17. }
  18.